﻿@model IEnumerable<Epi.Web.MVC.Models.FormInfoModel>
<div class="divcontents">
    @foreach (var item in Model)
    {
        var divClass = "metro-tile " + " Org-" + item.OrganizationId + " metro-tile2 ";
        if (item.IsOwner)
        {
            divClass += " metro-design ";
        }
        else
        {
            divClass += " metro-design ";
        }
                    
        <button class="@divClass" type="button" id="@item.FormId" data-formid="@item.FormId" data-theme="@divClass" value="@item.FormName">
            <h3>@item.FormName</h3>           
        </button>
    }
</div>
